package cn.whut.glab.service;

import java.sql.SQLException;

import cn.whut.glab.dao.UserDao;
import cn.whut.glab.domain.BD_User;

public class UserService {
	UserDao dao=new UserDao();
	public String getPassword(String userName) throws SQLException{
		return dao.getPassword(userName);
	}
	
	public void changePassword(String userName,String password) throws SQLException{
		dao.changPassword(userName, password);
	}
}
